
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$school['title']}</title>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width initial-scale=1.0 maximum-scale=1.0 user-scalable=yes" />
<link type="text/css" rel="stylesheet" href="{OSSURL}public/mobile/css/mGrzxTeacher.css?v=4.8" />
<link type="text/css" rel="stylesheet" href="{OSSURL}public/mobile/css/pageContent.css?v=4.80120" />
<link type="text/css" rel="stylesheet" href="{OSSURL}public/mobile/css/greenStyle.css?v=4.80120" />
{php echo register_jssdk();}
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script type="text/javascript" src="{MODULE_URL}public/mobile/js/jquery-1.11.3.min.js?v=4.9"></script>
</head>
<body>
<div class="header mainColor">
	<div class="l">
		<a class="backOff" style="background:url({OSSURL}public/mobile/img/ic_arrow_left_48px_white.svg) no-repeat;background-size: 55% 55%;background-position: 50%;" href="javascript:history.go(-1);"></a>
	</div>
	<div class="m">
		<span style="font-size: 18px">{$category['sname']}实时画面</span>   
	</div>
</div>
<div class="_header"></div>
	<div class="content">
		{if date('H:i',TIMESTAMP) > $category['videostart'] && date('H:i',TIMESTAMP) < $category['videoend']}
		<br/>{$category['sname']}<br/>
		<video id="videocon" controls width="100%"  height="264" poster="{php echo tomedia($school['logo']);}" webkit-playsinline>
			<source src="{php echo tomedia($category['video'])}" type='video/mp4' />
			<p class="vjs-no-js">你的浏览器不支持该视频</a></p>
		</video>
		{else}
		<br/>本时间段不支持查看本教室实时画面<br/>
		可使用时间为：{$category['videostart']}至{$category['videoend']}
		{/if}
	</div>
 {php include $this->template('comad');}
<script>
$(function() {
	    WeixinJSHideAllNonBaseMenuItem();
});


/**微信隐藏工具条**/
function WeixinJSHideAllNonBaseMenuItem(){
	if (typeof wx != "undefined"){
		wx.ready(function () {
			
			wx.hideAllNonBaseMenuItem();
		});
	}
}
</script>	
	 {php include $this->template('footer');}	
</body>

</html>